package com.xj0927.springcloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @Author: xj0927
 * @Description:
 * @Date Created in 2020-10-28 11:24
 * @Modified By:
 */
public interface LoadBalancer {

    //拿到所有服务实例
    ServiceInstance instance(List<ServiceInstance> serviceInstances);
}
